package com.register.client.domian;

/**
 * 心跳请求
 */
public class HeartBeat {

    /**
     * 服务实例
     */
    private String serverName;

    /**
     * 服务实例Id
     */
    private String serviceInstanceId;


    public HeartBeat(String serverName, String serviceInstanceId) {
        this.serverName = serverName;
        this.serviceInstanceId = serviceInstanceId;
    }

    public HeartBeat() {
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getServiceInstanceId() {
        return serviceInstanceId;
    }

    public void setServiceInstanceId(String serviceInstanceId) {
        this.serviceInstanceId = serviceInstanceId;
    }
}
